package service 
{
	import cn.inswf.framework.mvcs.Actor;
	import data.Chapter;
	import data.LMS;
	import flash.net.SharedObject;
	
	/**
	 * ...
	 * @author liwei
	 */
	public class LocalSaveService extends Actor 
	{
		private var _local:SharedObject;
		public function LocalSaveService() 
		{
			super();
		}
		public function save():void {
			_local = SharedObject.getLocal("artcg" + LMS.id, "/");
			_local.data["scorm"] = LMS.scormData;
		}
		public function getData():String {
			_local = SharedObject.getLocal("artcg" + LMS.id, "/");
			return _local.data["scorm"];
		}
	}

}